<template>
  <div>
    <el-select v-model="status" @change="statusChange" style="width: 100%">
    <span v-for="(val,index) in type" :key="val">
      <el-option :label="index+':'+val" :value="index"/>
    </span>
    </el-select>
  </div>
</template>

<script>
export default {
  name: "MoveStatusSelect",
  model:{
    prop:'value',
    event: 'childValueChange'
  },
  props:['value'],
  methods:{
    statusChange(e) {
      this.$emit('childValueChange',e)
    }
  },
  data() {
    return{
      status:this.value,
      type:['未处理','正在处理','已结束','已拒接']
    }
  }
}
</script>

<style scoped>

</style>
